package cn.masterj.springcloud.service;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author masterJ
 * @create 2020-04-15 22:14
 */
public interface CustomMessageChannel {

    /**
     * 自定义目的地管理，并不需要在application.yml里面配置该管道名
     * @return
     */
    @Output("customDestination")
    MessageChannel customMessageChannel();
}
